package com.kgcx.price.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import javax.persistence.Table;
import javax.persistence.Transient;
import java.sql.Timestamp;

/**
 * MileageLngLat 坐标记录实体类
 *
 * @author:zml
 * @Timestamp:2017/11/16
 */
@Data
@ApiModel(value = "MileageLngLat", description = "坐标记录实体类")
@Table(name = "t_mileage_lng_lat")
public class MileageLngLat {


    @ApiModelProperty(value = "主键ID", name = "kid", example = "1")
    private Long kid;

    @ApiModelProperty(value = "司机id【必填】", name = "driverId", required = true)
    private Long driverId;

    @ApiModelProperty(value = "车辆Id【必填】", name = "carId", required = true)
    private Long carId;

    @ApiModelProperty(value = "经度【必填】", name = "lng", required = true)
    private String lng;

    @ApiModelProperty(value = "纬度【必填】", name = "lat", required = true)
    private String lat;

    @ApiModelProperty(value = "上传时间【必填】", name = "upTime", required = true)
    private Timestamp upTime;

    @ApiModelProperty(value = "车头朝向", name = "bearing")
    private String bearing;

    @ApiModelProperty(value = "瞬时速度", name = "speed")
    private String speed;

    @ApiModelProperty(value = "订单id【必填】", name = "orderId", required = true)
    private Long orderId;

    @ApiModelProperty(value = "创建时间", name = "createTime")
    private Timestamp createTime;

    @ApiModelProperty(value = "月份", name = "month")
    private Integer month;

    @ApiModelProperty(value = "日期", name = "day")
    private Integer day;

    @Transient
    private String vehicleNo;

    @Transient
    private Integer vehicleRegionCode;

    @Transient
    private String licenseId;

    @Transient
    private Integer warnStatus;

    @Transient
    private Integer vehStatus;

    @Transient
    private Integer mileage;

    @Transient
    private Integer bizStatus;

}